package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ClientTrace {
    private Long id;

    private Client client;

    private String qq;

    private String email;

    private String tel;

    private DictionaryItem state;

    private Employee saleman;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastTraceTime;

    private University university;

    private Class clz;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointTime;

    private DictionaryItem communicationMethod;

    private DictionaryItem intentionDegree;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nextTraceTime;

    private DictionaryItem tracePurpose;

    private String consultDuration;

    private String focusProblem;

    private String remark;

    private Employee inputUser;

    private DictionaryItem score;

    private String explaination;

    private boolean audited;

    private Long clientId;

}